From: Ian Campbell Date: Mon, 16 Aug 2010 14:31:04 +0000 (+0100) Subject: libxl: define specific types for string list and key,value list X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11629 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=e26a803d45932db5e10ac5eebbe1086116bb5e68;p=xen.git libxl: define specific types for string list and key,value list Signed-off-by: Ian Campbell Signed-off-by: Stefano Stabellini committer: Stefano Stabellini --- diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index b6e70b690d..e77453df0f 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -141,6 +141,10 @@ typedef uint8_t libxl_uuid[16]; typedef uint8_t libxl_mac[6]; +typedef char **libxl_string_list; + +typedef char **libxl_key_value_list; + typedef struct { libxl_uuid uuid; uint32_t domid; @@ -209,8 +213,8 @@ typedef struct { int ssidref; char *name; libxl_uuid uuid; - char **xsdata; - char **platformdata; + libxl_key_value_list xsdata; + libxl_key_value_list platformdata; uint32_t poolid; char *poolname; } libxl_domain_create_info; @@ -313,7 +317,7 @@ typedef struct { int vcpus; /* max number of vcpus */ int vcpu_avail; /* vcpus actually available */ int xen_platform_pci; /* enable/disable the xen platform pci device */ - char **extra; /* extra parameters pass directly to qemu, NULL terminated */ + libxl_string_list extra; /* extra parameters pass directly to qemu, NULL terminated */ /* Network is missing */ } libxl_device_model_info;